
add_executable( meshTests "" )

target_sources( meshTests PRIVATE
	../catch2_main.cpp
	#
	topology_test.cpp
	geometry_test.cpp
	#
	# edge_test.cpp # outdated? compiles but produces failed tests
	edges_test.cpp
	cells_test.cpp
	mesh_test.cpp
	#
	uniCells_test.cpp
	uniMesh_test.cpp
	#
	rectCell_test.cpp
	rectCells_test.cpp
	rectEdge_test.cpp
	rectEdges_test.cpp
	rectMesh_test.cpp
	#
	structCell_test.cpp
	structEdge_test.cpp
	structMesh_test.cpp
	#
	structMeshTestHelper.hpp
	structMeshTestHelper_edge.hpp
	structMeshTestHelper_cell.hpp
	structMeshTestHelper_mesh.hpp
	#
	boundaryPatch_test.cpp
	#
	meshFunctions_test.cpp
	structMeshFunctions_test.cpp
	meshImportExport_test.cpp
	meshTypeFunctions_test.cpp
	meshGen_test.cpp
)
target_link_libraries( meshTests PRIVATE
	Catch2WithMain
	testHelperFunctions
	mesh
	gmshImport
)
target_compile_options( meshTests PRIVATE -w)